package com.dzh.pojo;

public class UserTicket {
    public  UserTicket(){

    }
    private  String username;
    private String tid;
    private Ticket ticket;

    @Override
    public String toString() {
        return "UserTicket{" +
                "username='" + username + '\'' +
                ", tid='" + tid + '\'' +
                ", ticket=" + ticket +
                '}';
    }

    public UserTicket(Ticket ticket) {
        this.ticket = ticket;
    }

    public Ticket getTicket() {
        return ticket;
    }

    public void setTicket(Ticket ticket) {
        this.ticket = ticket;
    }

    public UserTicket(String username, String tid) {
        this.username = username;
        this.tid = tid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getTid() {
        return tid;
    }

    public void setTid(String tid) {
        this.tid = tid;
    }

}
